home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
The Atari Compendium
/
The Atari Compendium (Toad Computers) (1994).iso
/
files
/
umich
/
utils
/
unixt~3h
/
unixtkit.arc
/
man.arc
/
CP.MAN
< prev
next >
Wrap
Text File
|
1988-03-28
|
1KB
|
67 lines
CP ST-UNIX User's Manual CP
COMMAND
cp - copy files
FORMAT
cp [ -i ] [ -r ] filea fileb
cp [ -i ] [ -r ] file ... directory
DESCRIPTION
_✓C_✓p copies _✓F_✓i_✓l_✓e_✓a onto _✓f_✓i_✓l_✓e_✓b.
The second form copies the _✓f_✓i_✓l_✓e into a _✓d_✓i_✓r_✓e_✓c_✓t_✓o_✓r_✓y. The ori-
ginal filenames are preserved.
If an attempt is made to copy the file onto itself an error
is printed.
OPTIONS
-r will cause any directory and their contents to be
copied. This has the effect of copying subtrees of a
directory to another part of the file system.
-i a prompt is given for a copy of a file onto iself. A
reply of 'y' will cause the copy to take place.
- this permits the copying of filenames starting with a
'-'.
EXAMPLE
To copy the Adirectory and it's contents (including any
sub-directories) to Bdirectory:
cp -r Adirectory Bdirectory
Printed 10/April/1987 1 March 1987 1